package com.dongdongshop.config.aop;

//import org.aspectj.lang.JoinPoint;
//import org.aspectj.lang.Signature;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Before;
//import org.aspectj.lang.annotation.Pointcut;
//import org.springframework.stereotype.Component;

import java.util.Objects;

//@Aspect  //表示当前类是一个切面类
//@Component  //实例化
public class LogAop {

    //方法表达式
//    @Pointcut("execution(public * com.dongdongshop.service.*.*(..))")
    public void log() {
    }


    //前置通知
//    @Before("log()")
//    public void before(JoinPoint joinPoint) {
//        //获取参数
//        Object[] args = joinPoint.getArgs();
//        //获取被执行的查询否的阐述
//        Signature signature = joinPoint.getSignature();
//
//    }
}
